/*
 * @Author: xujianwei
 * @Date: 2021-11-15 16:01:38
 * @LastEditors: xujianwei
 * @LastEditTime: 2021-11-15 16:09:40
 */

 export const isArray = ()=>{

 }

 export const isObject = (value)=>{
    const type = typeof value
    return value != null && (type === 'object' || type === 'function')
}

export const isString = (value)=>{
    const type = typeof value
    return type === 'string' || (type === 'object' && value != null && !Array.isArray(value) && getTag(value) == '[object String]')
}